/*
 *  main.cpp
 *  SoundController0002
 *
 *  Created by jiro on 10/07/11.
 *  Copyright 2010 jiro music. All rights reserved.
 *
 */

#include "../sc/AudioRecorder.h"
#include "../sc/AudioPlayer.h"
#include "../sc/Constants.h"
#include "../../Common/WellTemperedNotes.h"

using namespace sc;

int main( int argc, char* argv[] )
{
	double swell = 1;
	const SoundElement32* element = SoundElementFactory32::Create( 
		0.25, LineFactory::Create( Line::Type_Straight, 0,		0,		0.25, 0.5 ),
		0.50, LineFactory::Create( Line::Type_Straight, 0.25,	0.5,	0.50, 1.0 ),
		0.75, LineFactory::Create( Line::Type_Straight, 0.50,	1.0,	0.75, 0.5 ),
		1.0,  LineFactory::Create( Line::Type_Straight, 0.75,	0.5,	1.0,  0.0 ),
		WaveTableFactory32::Create( WaveTable32::Type_Sine, 440 ) );

	AudioRecorder32 recorder( 2, 1 );
}


